cmake_minimum_required(VERSION 3.28)
project(test C)

set(CMAKE_C_STANDARD 11)

# add_executable(test 01_chrdevbase/chrdevbase.c)
# add_executable(test 01_chrdevbase/chrdevbaseApp.c)

add_executable(test
        02_led/led.c
        02_led/my_led.c
        03_newchrled/newchrled.c
        04_dtsled/dtsled.c
        05_gpioled/gpioled.c
        06_beep/beep.c
        07_atomic/atomic.c
        11_key/key.c
        12_timer/timer.c)

include_directories(SYSTEM "/home/huafv/linux/kernel_src/include")
include_directories(SYSTEM "/home/huafv/linux/kernel_src/arch/arm/include")
include_directories(SYSTEM "/home/huafv/linux/kernel_src/arch/arm/include/generated")
